import http from "../utils/http.js";
const defaultService = "/tourism/v1/sys-service";
const authService = "/tourism/v1/auth-service";
export default {
  // 用户登录
  userLogin: (param) => http.post(`${authService}/auth/login`, param),
//   用户注册
  userRegister: (param) => http.post(`${defaultService}/admin/sys/user/registerUser`, param),
//忘记密码
  forgetPassword: (param) => http.put(`${defaultService}/admin/sys/user/resetPassword`, param),
//   用户个人信息
//   http://192.168.1.131:9080/tourism/v1/sys-service/admin/sys/user/info
  getUserInfoApi: (param) => http.get(`${defaultService}/admin/sys/user/info`, param),
};
